{"ast":null,"code":"import * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nvar onKeyDown = function onKeyDown(event) {\n  var keyCode = event.keyCode;\n  if (keyCode === KeyCode.ENTER) {\n    event.stopPropagation();\n  }\n};\nvar FilterDropdownMenuWrapper = function FilterDropdownMenuWrapper(props) {\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: props.className,\n    onClick: function onClick(e) {\n      return e.stopPropagation();\n    },\n    onKeyDown: onKeyDown\n  }, props.children);\n};\nexport default FilterDropdownMenuWrapper;","map":{"version":3,"names":["React","KeyCode","onKeyDown","event","keyCode","ENTER","stopPropagation","FilterDropdownMenuWrapper","props","createElement","className","onClick","e","children"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/table/hooks/useFilter/FilterWrapper.js"],"sourcesContent":["import * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nconst onKeyDown = event => {\n  const {\n    keyCode\n  } = event;\n  if (keyCode === KeyCode.ENTER) {\n    event.stopPropagation();\n  }\n};\nconst FilterDropdownMenuWrapper = props => /*#__PURE__*/React.createElement(\"div\", {\n  className: props.className,\n  onClick: e => e.stopPropagation(),\n  onKeyDown: onKeyDown\n}, props.children);\nexport default FilterDropdownMenuWrapper;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,OAAO,MAAM,oBAAoB;AACxC,IAAMC,SAAS,GAAG,SAAZA,SAAS,CAAGC,KAAK,EAAI;EACzB,IACEC,OAAO,GACLD,KAAK,CADPC,OAAO;EAET,IAAIA,OAAO,KAAKH,OAAO,CAACI,KAAK,EAAE;IAC7BF,KAAK,CAACG,eAAe,EAAE;EACzB;AACF,CAAC;AACD,IAAMC,yBAAyB,GAAG,SAA5BA,yBAAyB,CAAGC,KAAK;EAAA,OAAI,aAAaR,KAAK,CAACS,aAAa,CAAC,KAAK,EAAE;IACjFC,SAAS,EAAEF,KAAK,CAACE,SAAS;IAC1BC,OAAO,EAAE,iBAAAC,CAAC;MAAA,OAAIA,CAAC,CAACN,eAAe,EAAE;IAAA;IACjCJ,SAAS,EAAEA;EACb,CAAC,EAAEM,KAAK,CAACK,QAAQ,CAAC;AAAA;AAClB,eAAeN,yBAAyB"},"metadata":{},"sourceType":"module"}